package com.bree.erp.service;

import java.util.List;

import com.bree.erp.entity.ItemRequest;
import com.bree.erp.entity.MasterItem;
import com.bree.erp.entity.PartUnit;
import com.bree.erp.entity.PurchaseRequisition;
import com.bree.erp.entity.Unit;

public interface ItemRequestService {
	
	ItemRequest create(PurchaseRequisition purchaseRequisition, 
			PartUnit partUnit,
			double quantity,
			String remarks);

	ItemRequest create(Long prId, Long puId, double quantity, String remarks);
	
	ItemRequest read(long id);

	ItemRequest update(long id, 
			double quantity,
			String remarks);

	void delete(long id);
	
	void delete(ItemRequest entity);
	
	List<ItemRequest> list(long parentId);
}
